<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>HttpDeflateStream class factory</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="httpdeflatestream.construct.html">HttpDeflateStream::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="httpdeflatestream.finish.html">HttpDeflateStream::finish</a></div>
 <div class="up"><a href="class.httpdeflatestream.html">HttpDeflateStream</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="httpdeflatestream.factory" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">HttpDeflateStream::factory</h1>
  <p class="verinfo">(PECL pecl_http &gt;= 1.4.0)</p><p class="refpurpose"><span class="refname">HttpDeflateStream::factory</span> &mdash; <span class="dc-title">HttpDeflateStream class factory</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-httpdeflatestream.factory-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">static public</span>
   <span class="type"><a href="class.httpdeflatestream.html" class="type HttpDeflateStream">HttpDeflateStream</a></span> 
   <span class="methodname"><strong>HttpDeflateStream::factory</strong></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code><span class="initializer"> = 0</span></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$class_name</code><span class="initializer"> = &quot;HttpDeflateStream&quot;</span></span>
  ]] )</div>

  <p class="para rdfs-comment">
   Creates a new <a href="class.httpdeflatestream.html" class="classname">HttpDeflateStream</a> object instance.
  </p>
  <p class="para">
   See the <a href="class.httpdeflatestream.html#http.httpdeflatestream.constants" class="link">deflate stream constants table</a> for possible <em><code class="parameter">flags</code></em>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-httpdeflatestream.factory-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">flags</code></em></dt>

     <dd>

      <p class="para">
       initialization flags
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">class_name</code></em></dt>

     <dd>

      <p class="para">
       name of a subclass of <a href="class.httpdeflatestream.html" class="classname">HttpDeflateStream</a>
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 


 


 


 <div class="refsect1 seealso" id="refsect1-httpdeflatestream.factory-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="httpdeflatestream.construct.html" class="methodname" rel="rdfs-seeAlso">HttpDeflateStream::__construct()</a> - HttpDeflateStream class constructor</span></li>
   </ul>
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="httpdeflatestream.construct.html">HttpDeflateStream::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="httpdeflatestream.finish.html">HttpDeflateStream::finish</a></div>
 <div class="up"><a href="class.httpdeflatestream.html">HttpDeflateStream</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
